Yoast\WP\Lib\Model A

Total Complexity 65
Dependencies 3
Dependents 40
Total lines 709
Lines of code 231
Logical lines of code 121
Comment lines 387
Methods 34
Properties 8

Methods 34

Method Rating Maintainability Complexity Lines of code
__set()
S
60 8 12
has_many_through()
S
46 6 36
__get()
S
60 7 13
get_static_property()
S
65 4 9
get_table_name_for_class()
S
61 3 12
save()
S
66 3 9
belongs_to()
S
61 2 12
has_one_or_many()
S
62 2 11
__callStatic()
S
67 2 7
build_foreign_key_name()
S
71 2 6
class_name_to_table_name()
S
60 1 15
use_short_table_name()
S
69 2 7
get_table_name()
S
68 2 7
get()
S
80 1 3
hydrate()
S
81 1 3
id()
S
81 1 3
delete()
S
81 1 3
as_array()
S
74 1 4
is_new()
S
81 1 3
is_dirty()
S
80 1 3
set_expr()
S
76 1 4
set()
S
76 1 4
__debugInfo()
S
81 1 3
__isset()
S
80 1 3
factory()
S
67 1 8
jsonSerialize()
S
81 1 3
__unset()
S
81 1 3
set_table_name()
S
76 1 4
of_wp_type()
S
79 1 3
set_orm()
S
81 1 3
has_many()
S
75 1 4
has_one()
S
79 1 3
get_id_column_name()
S
78 1 3
of_type()
S
72 1 5